package org.glut.cloud.repairManage.feign;

import org.glut.cloud.repairManage.dto.FailureRepair;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author weisiyuan
 * @createtime 2024/8/14 20:43
 */
// 调用远程 repair-RepairManage 服务
@FeignClient(value = "repair-RepairManage")
public interface FailureRepairService {

    /**
     * 根据故障报修ID查询相应报修的故障信息
     * */
    @GetMapping("/failure-repair/selectById/{failureRepairId}")
    public FailureRepair selectById(@PathVariable Integer failureRepairId);
}
